#
# Copyright (C) 2017, 2025, Cyrus Li (e21920076@126.com). All rights reserved.
#

CC	=  gcc
CFLAGS	+= -g -Wall -std=c99

all: foo test

foo: foo.c
	${CC} ${CFLAGS} -o $@ $<

test: test.sh
	cp $< $@ && chmod +x $@

clean:
	rm -f *.o

clobber: clean
	rm -f foo
	rm -f test
cl: clobber
